let a =[
    {name:'李',id:1},
    {name:'王',id:2},
]
let b =[
    {name:'张',id:2},
   
]
let aa ={
    a:`{name:'李',id:1}`,
    b:`{name:'王',id:2}`,
    
}
let bb ={
    b:`{name:'张',id:3}`
}


let aO = Object.assign(aa,bb)

let bO = Object.assign(bb,aa)

console.log(aO,'xxxxxxxxxxxxxxxxxxxxxx',bO)


let flg = a.some(item=>{
    return item.id==23
})
console.log(flg)